/** When your routing table is too long, you can split it into small modules **/

import Layout from '@/layout'

const cutomerRouter = {
  path: '/customer',
  component: Layout,
  redirect: '/customer/customer-list',
  name: 'Customer',
  meta: {
    title: '乘客管理',
    icon: 'peoples'
  },
  children: [
    {
      path: '/customer-list',
      name: 'CustomerList',
      component: () => import('@/views/customer/customer-list'),
      meta: { title: '乘客管理' }
    }
  ]
}

export default cutomerRouter
